package ads.server;

import org.apache.log4j.Logger;

import spread.BasicMessageListener;
import spread.SpreadMessage;

public class ServerBasicMessageListener implements BasicMessageListener {
	private ServerImpl server;
	private static final Logger log = Logger.getLogger(ServerBasicMessageListener.class
			.getName());
	public ServerBasicMessageListener(SpreadMember serverImpl) {
		super();
		// if (serverImpl instanceof ServerImpl) {
		server = (ServerImpl) serverImpl;
		// }

	}

	@Override
	public void messageReceived(SpreadMessage message) {
		log.debug("a message was Received:"+message);

	}

}
